/**
 * Created by huanghaiming on 2017/1/11.
 */

'use strict';
import React from 'react';
import {
    StyleSheet
} from 'react-native';

let Dimensions = require('Dimensions');
let GCPubWidth = Dimensions.get('window').width;
let GCPubHeight = Dimensions.get('window').height;

var GCStyleConst = {
    themeBackColor: '#22cb86',
    lineColor: '#F0F0F0',
    grayLineColor: '#eeeeee',
    deputyText: 'rgba(128,128,128,1)',
    placeColor: 'rgba(180,180,180,1)',
}

//公共样式
const Style = StyleSheet.create({
    navigatorView: {
        height: 64,
        backgroundColor: GCStyleConst.themeBackColor,
        width: GCPubWidth,
        flexDirection: 'row',
        justifyContent: 'space-between'
    },
    LeftBn: {
        height: 44,
        width: 40,
        marginTop: 20,
        marginLeft: 5,
    },
    titleTxt: {
        flex: 1,
        textAlign: 'center',
        alignItems: 'center',
        marginTop: 30,
        fontSize: 18,
        color: '#ffffff',
    },
    rightBn: {
        height: 44,
        width: 40,
        marginTop: 20,
        marginRight: 5,
    },
    loginIcon:{
        width:90,
        height:90,
        marginTop:54,
    },
    loginBn:{
        width: GCPubWidth-40,
        height:44,
        backgroundColor: GCStyleConst.themeBackColor,
        borderRadius:8,
        justifyContent:'center',
        alignItems:'center'
    },
    loginTxt:{
        color:'white',
        fontSize:17,
    },
    lineStyle: {
        height: 1,
        width: GCPubWidth,
        backgroundColor: '#eeeeee',
    },
    greyTxt:{
        fontSize:14,
        color:'#aaaaaa'
    }
});

const GCOrderCell = StyleSheet.create({
    orderRowView: {
        height: 252,
        width: GCPubWidth-20,
        marginTop: 10,
        backgroundColor:'white',
        marginLeft:10,
        marginRight:10,
        padding:10,
        borderRadius:4,
    },
    cellLine:{
        height:48,
        width: GCPubWidth-40,
        flexDirection:'row',
        justifyContent:'space-between',
        alignItems:'center',
        backgroundColor:'white'
    },
    lineStyle:{
        height:1,
        width:GCPubWidth,
        backgroundColor:'#eeeeee',
        position: 'absolute',
        alignSelf: 'flex-end',
    },
    conterTxt:{
        fontSize:14,
        color:'#000000'
    },
})

export default {
    Style,
    GCOrderCell,
    GCStyleConst,
    GCPubWidth,
    GCPubHeight,
}